﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using SelfService.Model.Models;


namespace SelfService.ViewModel.SysRoomVMs
{
    public partial class SysRoomTemplateVM : BaseTemplateVM
    {
        [Display(Name = "诊室ID")]
        public ExcelPropety HisId_Excel = ExcelPropety.CreateProperty<SysRoom>(x => x.HisId);
        [Display(Name = "诊室编码")]
        public ExcelPropety Code_Excel = ExcelPropety.CreateProperty<SysRoom>(x => x.Code);
        [Display(Name = "诊室名称")]
        public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<SysRoom>(x => x.Name);
        [Display(Name = "科室ID")]
        public ExcelPropety DepartmentId_Excel = ExcelPropety.CreateProperty<SysRoom>(x => x.DepartmentId);
        [Display(Name = "科室编码")]
        public ExcelPropety DepartmentCode_Excel = ExcelPropety.CreateProperty<SysRoom>(x => x.DepartmentCode);
        [Display(Name = "科室名称")]
        public ExcelPropety DepartmentName_Excel = ExcelPropety.CreateProperty<SysRoom>(x => x.DepartmentName);

	    protected override void InitVM()
        {
        }

    }

    public class SysRoomImportVM : BaseImportVM<SysRoomTemplateVM, SysRoom>
    {

    }

}
